﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FXnaMet
{
    public static class MetHelper
    {

        /// <summary>
        /// 这里先以OQA文件为基础
        /// </summary>
        /// <param name="str"></param>
        /// <returns></returns>
        public static DateTime GetDateTime(string str)
        {
            int year =Convert.ToInt32( "20" + str.Substring(0,2));

            int month = Convert.ToInt32(str.Substring(2,2));

            int day = Convert.ToInt32(str.Substring(4, 2));

            int min = Convert.ToInt32(str.Substring(6, 2));


            return new DateTime(year,month,day,min,0,0);


 
        }



        


    }
}
